import { ref } from "vue";

export const useVariantTransactionModal = () => {
  const modalShowFlag = ref(false);

  const handleShowModal = () => {
    modalShowFlag.value = true;
  };

  const handleHideModal = () => {
    modalShowFlag.value = false;
  };

  return {
    modalShowFlag,
    handleShowModal,
    handleHideModal,
  };
};